package hb.software.message.domain;

import hb.software.domain.BaseEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @ClassName: WorkerMessage
 * @Description: JavaBean of Message Module
 * @author YuanMingjie
 * @date May 29, 2020 1:17:32 PM
 * 
 */
@Entity
@Table(name = "WorkerMessage") // database name
public class WorkerMessage extends BaseEntity<Long> {
	private static final long serialVersionUID = 4475744750767977852L;
	@Column
	String name;
	@Column
	String age;
	@Column
	String sex;
	@Column
	String department;
	@Column
	String phone;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

}
